package com.hhxyjsj.factory.simple;

import com.hhxyjsj.factory.INotebook;

public class SimpleFactoryTest {

	public static void main(String[] args) {
		INotebook notebook = INotebookFactory.getInstance("dell");
		notebook.produce();
		
		notebook = INotebookFactory.getInstance("lenovo");
		notebook.produce();
		
		notebook = INotebookFactory.getInstance("ibm");
		notebook.produce();

	}

}
